package com.hsav.kcxb.bean;

import java.util.List;

/**
 * Created by zhao on 17-4-30.
 */

public class MenuModel {
    public int mKey;
    public String mValue;
    public List<MenuModel> mChildMenu;

    public MenuModel(int key, String value, List<MenuModel> childMenu) {
        mKey = key;
        mValue = value;
        mChildMenu = childMenu;
    }

    public boolean hasChild() {
        if (mChildMenu != null && mChildMenu.size() > 0) {
            return true;
        }
        return false;
    }
}
